home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Library
/
RoseWare - Network Support Library.iso
/
monitor
/
lansca.com
/
LANSCAN.DOC
next >
Wrap
Text File
|
1992-05-21
|
3KB
|
69 lines
LANSCAN 1.2
(c)Copyright 1992 Chris Lowe
LANSCAN is a program to automate the process of scanning a local
disk drive for viruses (although it can be used for many other
things). I wrote it to do a timely scan of my local disks using
VIRX.
The program operates by first detecting all present local drives
and then passing the valid drive letters to a command batch file.
OPERATION:
Here's how it works. The program is started by typing LANSCAN at
any prompt, although it works best if included in the
AUTOEXEC.BAT file. The program will first test each drive letter
A-Z to see if there is valid media in it. It will ignore
substituted and networked drives. After it has built a table of
valid drives it will look for a text file called DATESTMP.LS in
the root directory for the first drive. If the file is found the
date written to that file will be examined and checked to see if
the difference between the current date and the datestamp is
greater that the current interval (the default is 30 days). If it
is equal to or greater, LANSCAN will update the date in the file
and write it back, shell to DOS and start a batch file called
LSCMD.BAT and pass the first valid drive letter to it. The
letters will be passed as A:,B:,C: etc.
This process will be repeated for each valid drive that LANSCAN
has located.
OVERRIDE SWITCHES:
The defaults are 1) 30 day interval and 2) LSCMD.BAT is the
command file. These may be overriden as follows.
To use an interval other that 30 days, start LANSCAN with a /Ixxx
switch, where xxx is a value from 0 to 999 days. If you use a
value of 0 the DATESTMP.LS file will not be written to disk each
time.
To use a command filename other than LSCMD.BAT, start LANSCAN
with a /Ccccccccc.ccc, where cccccccc.ccc is the name of another
file.
Type LANSCAN /? for online help.
LANSCAN is hereby released to the public domain although I
reserve all rights to myself. The program LANSCAN.EXE and file
LANSCAN.DAT may not be altered in any way or sold except for a
nominal fee for the cost of the media on which it is stored.
Although LANSCAN is a public domain program a donation of $5.00
would be greatly appreciated and a source of inspiration for me
to continue to create and upgrade programs such as LANSCAN.
I always appreciate comments and suggetions.
Chris Lowe
Phone -------> (208) 336-7337
Compuserve---> 73627,1745
Mail --------> P.O. Box 411
Boise, Idaho
83711